package com.briup.day07;

import com.briup.day07.bean.Phone;

public class Test_Phone {
    public static void main(String[] args) {
        Phone p1 = new Phone();
        p1.branch="华为";
        p1.price=3999.99;
        p1.call();
        //访问成员方法 对象名.成员方法
        p1.sendMessage("老赵","快点发工资");
        p1.show();
        System.out.println();
        Phone p2 = new Phone();

    }
}
